﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctlFilterBar.ascx.cs" Inherits="Ctl_ctlFilterBar" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<table style="width: 100%;" cellpadding ="0" cellspacing ="0">
    <tr>
        <td style="width:400px">
            <asp:TextBox ID="txtLexeme"  runat="server" CssClass="TextBox"></asp:TextBox>            
            
            <cc1:AutoCompleteExtender 
            ID="AutoCompleteExtender1" 
            runat="server" 
            TargetControlID="txtLexeme" 
            ServicePath ="~/ws_Hints.asmx"            
            MinimumPrefixLength="0" 
            CompletionInterval="200" 
            EnableCaching="true" 
            CompletionSetCount="10" 
            FirstRowSelected="true"
            DelimiterCharacters=" "
            ShowOnlyCurrentWordInCompletionListItem="true" >
            </cc1:AutoCompleteExtender>
            
        </td>
        <td style="width:20px; text-align :right" >
            <asp:ImageButton ID="btnFind"  runat="server" 
                ImageUrl="~/images/search_button.gif" style="height: 12px; width: 12px;" 
                onclick="btnFind_Click"  ToolTip ="Поиск"/>
        </td>
        <td style="width:4px" class ="menuSplit" >
            &nbsp
        </td> 
        <td style="width:25px;text-align :center" >
            <asp:ImageButton ID="btnFilterList"  runat="server" 
                ImageUrl="~/images/filter.gif" style="height: 12px; width: 12px;" 
                onclick="btnFilterList_Click"   ToolTip ="Список фильтров"/>            
        </td>
        <td style="width:4px" >
            &nbsp
        </td> 
        <td style="width:17px" >
            <asp:ImageButton ID="btnAddFiltr"  runat="server" ToolTip="Сохранить фильтр"
                ImageUrl="~/images/addfilter.gif" style="height: 12px; " 
                onclick="btnAddFiltr_Click" Width="16px"  />
        </td> 
        <td style="width:4px" class ="menuSplit" >
            &nbsp
        </td> 
        <td style="width:25px; text-align :center "  >
            <asp:ImageButton ID="btnCancel" OnClick ="btnReset_Click"  runat="server"  ToolTip ="Сбросить фильтр"
                ImageUrl="~/images/Clear.gif" style="height: 12px; " 
                  />
        </td> 
        <td>
        </td>
    </tr>
    </table>
